package re.entity;

public class Item {

    private int id;

    private String name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return String.format("id: %s, name: %s", id, name);
    }
}

// create table item(id int primary key auto_increment, name varchar(120), user_id int)
